$$ math.tpl
$$
$$ 数学函数库模板
$$

statement: {a}+{b} ->
(+ {a} {b})

statement: {a}-{b} ->
(- {a} {b})

statement: {a}*{b} ->
(* {a} {b})

statement: {a}/{b} ->
(/ {a} {b})

statement: {a}%{b} ->
(mod {a} {b})

statement: {a}>{b} ->
(> {a} {b})

statement: {a}>={b} ->
(>= {a} {b})

statement: {a}={b} ->
(= {a} {b})

statement: {a}!={b} ->
(not (= {a} {b}))

statement: {a}<>{b} ->
(not (= {a} {b}))

statement: {a}<{b} ->
(< {a} {b})

statement: {a}<={b} ->
(<= {a} {b})

statement: -{a} ->
(- {a})

statement: |{a}| ->
(abs {a})

statement: sin{a} ->
(sin {a})

statement: cos{a} ->
(cos {a})

statement: tan{a} ->
(tan {a})

statement: asin{a} ->
(asin {a})

statement: acos{a} ->
(acos {a})

statement: atan{a} ->
(atan {a})

statement: sinh{a} ->
(sinh {a})

statement: cosh{a} ->
(cosh {a})

statement: tanh{a} ->
(tanh {a})

statement: exp{a} ->
(exp {a})

statement: log{a} ->
(log {a})

statement: sqrt{a} ->
(sqrt {a})

$ ===========分割线===========

statement: {a}加上{b} ->
(+ {a} {b})

statement: {a}[、{b}]*与{c}的和 ->
(+ {a} [{b}]* {c})

statement: {a}减去{b} ->
(- {a} {b})

statement: {a}乘以{b} ->
(* {a} {b})

statement: {a}[、{b}]*与{c}的积 ->
(* {a} [{b}]* {c})

statement: {a}除以{b} ->
(/ {a} {b})

statement: {a}对{b}取模 ->
(mod {a} {b})

statement: {a}大于{b} ->
(> {a} {b})

statement: {a}大于等于{b} ->
(>= {a} {b})

statement: {a}等于{b} ->
(= {a} {b})

statement: {a}不等于{b} ->
(not (= {a} {b}))

statement: {a}小于{b} ->
(< {a} {b})

statement: {a}小于等于{b} ->
(<= {a} {b})

statement: 负{a} ->
(- {a})

statement: 绝对值{a} ->
(abs {a})

statement: {a}的绝对值 ->
(abs {a})

statement: {a}的平方根 ->
(sqrt {a})

statement: {a}以内的随机数 ->
(random {a})

statement: {a}[、{b}]*和{c}的最大值 ->
(max {a} [{b}]* {c})

statement: {a}[、{b}]*和{c}的最小值 ->
(min {a} [{b}]* {c})


